4D Chart v13

CT UPDATE CHART

Home

 
4D Chart v13
CT UPDATE CHART

CT UPDATE CHART 


 

CT UPDATE CHART ( area ; object ; displayAlert ) 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
displayAlert  Integer in Display an alert to the user? 0 = No 1 = Yes

The CT UPDATE CHART command updates a chart created from data in the database. This command is the equivalent of the Update menu command in the Chart menu.

This command updates only charts created by the user from fields in the database or programmatically using the CT Chart selection or CT Chart data functions.

The chart is updated using the records in the current selection of the table being graphed.

If displayAlert equals 1, an alert box is presented to the user, who can accept or cancel the action. If displayAlert equals 0, no alert box is presented.

Example  

This example changes the selection of the table being graphed and updates the graph to display the changes.

 REDUCE SELECTION([Statistics];350)
 CT UPDATE CHART(Area;$ChartID;0)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14528

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1